<?php /* Smarty version 2.6.11, created on 2007-04-11 20:55:23
         compiled from modulos/sala/sala_consulta.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'cycle', 'modulos/sala/sala_consulta.html', 19, false),)), $this); ?>
<br>
<form method="post" action="index.php" name="formulario">
	<table class="filtro">
		<tr><td>&nbsp;&nbsp;Descri&ccedil;&atilde;o </td><td><input type="text" name="nome" size="40"> <td></tr>
		  <tr><td colspan=2 align=right>
			&nbsp;&nbsp;<input type="submit" value="Filtrar" size="10">
			<input type="hidden" name="evento" value="60">  </td></tr> <!-- EVENTO Consultar Sala -->
	</table>
</form>
<table width="100%" class="data" style="float: left;">
    <thead>
		<tr class="topo">
			<th>A&ccedil;&atilde;o </th>
			<th>Descri&ccedil;&atilde;o</th>
		</tr>
    </thead>
    <?php $_from = $this->_tpl_vars['registros']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['entrada']):
?>
    <tbody>
    	<tr class="<?php echo smarty_function_cycle(array('values' => "odd,even"), $this);?>
" >
    		<td align="center">
				<a href= "index.php?evento=63&login=<?php echo $this->_tpl_vars['entrada']->cod_sala; ?>
" ><img name="enviar" src="imagens/b_edit.png" border="0" title="Alterar" > </a>
				<a href= "index.php?evento=62&login=<?php echo $this->_tpl_vars['entrada']->cod_sala; ?>
" ><img name="enviar" src="imagens/b_drop.png" border="0" title="Excluir" onclick="return confirmLink(this, 'Deseja excluir esse Ambiente de Aprendizagem ?')" > </a>
 		   	</td>
  	  		<td> <?php echo $this->_tpl_vars['entrada']->dsc_sala; ?>
 </td>
   	 	</tr>
    	<?php endforeach; else: ?>
    	    <tr> <td colspan=3> <b> Nenhum registro encontrado</b> </td></tr>
    	<?php endif; unset($_from); ?>
	</tbody>
</table>